package com.mf.ergate.domain.model.sys;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 文件存储信息Entity
 * User: zhaoming
 * Date: 2019-03-11
 * To change this template use File | Settings | File Templates.
 **/
@Entity
@Table(name="res_file_storage_info")
public class FileStorageInfoEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @Id
    private Long id;
    /**
     * 唯一编号
     */
    @Column(name="unique_no", unique = true)
    private String uniqueNo;
    /**
     * 文件名
     */
    @Column(name="file_name")
    private String fileName;
    /**
     * 文件大小
     */
    @Column(name="file_size")
    private Long fileSize;
    /**
     * 文件前缀
     */
    @Column(name="file_prefix")
    private String filePrefix;
    /**
     * 文件后缀
     */
    @Column(name="file_suffix")
    private String fileSuffix;
    /**
     * 文件存储桶
     */
    @Column(name="file_storage_bucket")
    private String fileStorageBucket;
    /**
     * 文件存储KEY
     */
    @Column(name="file_storage_key")
    private String fileStorageKey;
    /**
     * 文件存储URL
     */
    @Column(name="file_storage_url")
    private String fileStorageUrl;
    /**
     * 创建人编号
     */
    @Column(name="create_user_no")
    private String createUserNo;
    /**
     * 创建人名称
     */
    @Column(name="create_user_name")
    private String createUserName;
    /**
     * 创建时间
     */
    @Column(name="create_time")
    private Date createTime;
    /**
     * 修改人编号
     */
    @Column(name="update_user_no")
    private String updateUserNo;
    /**
     * 修改人名称
     */
    @Column(name="update_user_name")
    private String updateUserName;
    /**
     * 修改时间
     */
    @Column(name="update_time")
    private Date updateTime;
    /**
     * 是否删除
     */
    @Column(name="is_delete")
    private Integer isDelete;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUniqueNo() {
        return uniqueNo;
    }

    public void setUniqueNo(String uniqueNo) {
        this.uniqueNo = uniqueNo;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public String getFilePrefix() {
        return filePrefix;
    }

    public void setFilePrefix(String filePrefix) {
        this.filePrefix = filePrefix;
    }

    public String getFileSuffix() {
        return fileSuffix;
    }

    public void setFileSuffix(String fileSuffix) {
        this.fileSuffix = fileSuffix;
    }

    public String getFileStorageBucket() {
        return fileStorageBucket;
    }

    public void setFileStorageBucket(String fileStorageBucket) {
        this.fileStorageBucket = fileStorageBucket;
    }

    public String getFileStorageKey() {
        return fileStorageKey;
    }

    public void setFileStorageKey(String fileStorageKey) {
        this.fileStorageKey = fileStorageKey;
    }

    public String getFileStorageUrl() {
        return fileStorageUrl;
    }

    public void setFileStorageUrl(String fileStorageUrl) {
        this.fileStorageUrl = fileStorageUrl;
    }

    public String getCreateUserNo() {
        return createUserNo;
    }

    public void setCreateUserNo(String createUserNo) {
        this.createUserNo = createUserNo;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUserNo() {
        return updateUserNo;
    }

    public void setUpdateUserNo(String updateUserNo) {
        this.updateUserNo = updateUserNo;
    }

    public String getUpdateUserName() {
        return updateUserName;
    }

    public void setUpdateUserName(String updateUserName) {
        this.updateUserName = updateUserName;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
}
